﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using DTO;
namespace BLL
{
	public class HOSODTBUS
	{
		public static String CreateNewID(HOSODT hs)
		{
			HOSODTDAO b = new HOSODTDAO();
			return b.CreatenewId(hs);
		}
		public static List<HOSODT> FindtheoIDBN(HOSODT ctr)
		{
			HOSODTDAO b = new HOSODTDAO();
			return b.FindtheoIDBN(ctr);
		}
		public static bool ISEXISTSKB(HOSODT bc)
		{
			HOSODTDAO b = new HOSODTDAO();
			return b.ISEXISTSKB(bc);
		}
		public static bool INSERT(HOSODT bc,DOTKHAM dk,List<KHAMBENH> kb)
		{
			HOSODTDAO b = new HOSODTDAO();
			return b.INSERT(bc, dk, kb);
		}
		public static HOSODT GETHSTHEOBN(HOSODT hs)
		{
			HOSODTDAO b = new HOSODTDAO();
			return b.GETHSTHEOBN(hs);
		}
	}
}
